<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <?php echo $this->headTitle() ?>
        <link rel="stylesheet" type="text/css" href="/css/campaign/style.css" />
        <?php echo $this->JQuery() ?>        
    </head>
    <body>
        <div class="container">
            <?php echo $this->layout()->content; ?>
        </div>
    </body>

    <?php if (defined('GOOGLE_ANALYTICS')): ?>
        <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet
             change the UA-XXXXX-X to be your site's ID -->
        <script>
            var _gaq = [['_setAccount', '<?php echo GOOGLE_ANALYTICS ?>'], ['_trackPageview']];
            (function(d, t) {
                var g = d.createElement(t),
                s = d.getElementsByTagName(t)[0];
                g.async = true;
                g.src = '//www.google-analytics.com/ga.js';
                s.parentNode.insertBefore(g, s);
            })(document, 'script');
        </script>
    <?php endif; ?>    
</html>
